
<h3>
Edit document properties 
</h3>

<g:form action="update:${doc.ref}" target="editor">
  <g:textbox name="dc:title" label="Title" size="32" value="${doc.properties["dc:title"]}"></g:textbox>
  <g:textarea name="dc:description" label="Description" cols="32" rows="6">${doc.properties["dc:description"]}</g:textarea>
  <g:submit action="view:${doc.ref}" target="editor">Cancel</g:submit>
  <g:submit>Update</g:submit>
</g:form>